﻿using System;
using TFSUtils.Model;

namespace TFSUtils.Design
{
    public class DesignDataService : IDataService
    {
        public void GetData(Action<TFSBasicData, Exception> callback)
        {
            // Use this to create design time data

            var item = new TFSBasicData()
            {
                URI = "https://mytfsinstance.visualstudio.com/defaultcollection"
            };
            callback(item, null);
        }


        public void SaveData(TFSBasicData basicData)
        {
            // Do nothing
        }
    }
}